package hotel.dao;

import java.sql.SQLException;

import hotel.dao.base.GenericDao;
import hotel.entity.UserEntity;

public interface UserDao extends GenericDao<UserEntity> 
{
	public UserEntity findByUsername(String username) 
			throws SQLException;

	public void changePassword(String newPassword, int id)
			throws SQLException;
	
	public void changeRole(boolean role, int id)
			throws SQLException;

}
